<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
    <Source>
        <Name>libffado</Name>
        <Homepage>http://www.ffado.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <Summary>Free firewire audio drivers</Summary>
        <Description>libffado tries to provide open-source drivers for all FireWire based pro-audio devices.</Description>
        <Archive sha1sum="c7a6cef7cbf8e2ff5f5dbe5ca62fd1bfa0ddaa2a" type="targz">http://www.ffado.org/files/libffado-2.3.0.tgz</Archive>
        <BuildDependencies>
            <Dependency>xdg-utils</Dependency>
            <Dependency>glibmm-devel</Dependency>
            <Dependency>libxmlpp-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>dbus-c++-devel</Dependency>
            <Dependency>libsigc++-devel</Dependency>
            <Dependency>libconfig-devel</Dependency>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>libiec61883-devel</Dependency>
            <Dependency>scons</Dependency>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libffado-api-doc-only.patch</Patch>
            <Patch level="1">libffado-libconfig145.patch</Patch>
            <Patch level="1">flags.patch</Patch>
            <Patch level="1">gcc6.patch</Patch>
            <Patch level="3">libxml++3.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libffado</Name>
        <IsA>library</IsA>
        <RuntimeDependencies>
            <Dependency>glibmm</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>dbus-c++</Dependency>
            <Dependency>libxmlpp</Dependency>
            <Dependency>libconfig</Dependency>
            <Dependency>libsigc++</Dependency>
            <Dependency>xdg-utils</Dependency>
            <Dependency>libraw1394</Dependency>
            <Dependency>libiec61883</Dependency>
            <Dependency>python-setuptools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="data">/usr/share/libffado</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <!-- Generated with Debian's generate-udev-rules.py which reads stdin from configuration file -->
            <!--<AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/60-ffado.rules">60-ffado.rules</AdditionalFile>-->
         </AdditionalFiles>
    </Package>

    <Package>
        <Name>libffado-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files for libffado</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libffado</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>ffado-mixer</Name>
        <Icon>ffado-mixer</Icon>
        <IsA>app:gui</IsA>
        <PartOf>hardware.sound</PartOf>
        <Summary>Graphical User Interface for FFADO</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libffado</Dependency>
            <Dependency>python-setuptools</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/ffado-mixer*</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/pisilinux-ffadomixer.desktop">pisilinux-ffadomixer.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>2.3.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>2.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-28</Date>
            <Version>2.2.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
